package com.rxt.service;

import com.rxt.model.domain.OAddressBook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rxt.model.dto.AddressDto;
import com.rxt.model.vo.AddressVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 周梓文
 * @since 2023-08-24
 */
public interface IOAddressBookService extends IService<OAddressBook> {

    void add(AddressVo addressVo);

    void isDefault(Long addrId);

    void updateAddress(AddressVo addressVo);

    List<OAddressBook> findAll();

    AddressDto setAddr();
}
